package com.lagou.rpc.client;

import com.lagou.rpc.zk.CuratorZkClient;
import com.lagou.rpc.zk.ZkClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ZkConfig {
    @Bean
    ZkClient zkClient() {
        return new CuratorZkClient("127.0.0.1:2181");
    }
}
